package cn.tedu.smartos.entertainment.pojo.entity;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;

@Data
public class EntertainmentResource {
    @ApiModelProperty(value = "资源ID")
    private Long resourceId;
    @ApiModelProperty(value = "资源分类ID")
    private Integer categoryId;
    @ApiModelProperty(value = "资源标题")
    private String title;
    @ApiModelProperty(value = "封面URL")
    private String coverUrl;
    @ApiModelProperty(value = "资源类型：1-视频，2-音频，3-电子书")
    private Integer resourceType;
    @ApiModelProperty(value = "内容URL")
    private String contentUrl;
    @ApiModelProperty(value = "资源时长")
    private Integer duration;
    @ApiModelProperty(value = "作者")
    private String author;
    @ApiModelProperty(value = "资源描述")
    private String description;
    @ApiModelProperty(value = "浏览次数")
    private Integer viewCount;
    @ApiModelProperty(value = "是否推荐")
    private Integer isRecommend;
    @ApiModelProperty(value = "是否免费")
    private Integer isFree;
    @ApiModelProperty(value = "创建时间")
    private Date createTime;
    @ApiModelProperty(value = "更新时间")
    private Date updateTime;
}
